@layout("/common/_container.html"){
<div style="margin: 15px;">
    <form class="layui-form layui-form-pane" lay-filter="roleEditForm">
        <input type="hidden" name="id" value="${role.id}"/>
        <div class="layui-form-item">
            <label class="layui-form-label">角色代码</label>
            <div class="layui-input-block">
                <input type="text" name="roleCode" required lay-verify="required" autocomplete="off"
                       class="layui-input" value="${role.roleCode}" readonly/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">角色名称</label>
            <div class="layui-input-block">
                <input type="text" name="roleName" required lay-verify="required" autocomplete="off"
                       class="layui-input" value="${role.roleName}" readonly/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">角色描述</label>
            <div class="layui-input-block">
                <input type="text" name="roleDescription" autocomplete="off" class="layui-input"
                       value="${role.roleDescription}" readonly/>
            </div>
        </div>
    </form>
</div>

<script>
    $(function () {
        var form = layui.form;
        form.render(null, "roleEditForm");
    });
</script>
@}
